package com.cloud.pole.mapper.goods;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cloud.pole.shop.model.entity.goods.ShopGoodsModelAttrValue;


import tk.mybatis.mapper.common.Mapper;

public interface ShopGoodsModelAttrValueMapper extends Mapper<ShopGoodsModelAttrValue> {
	
	public List<ShopGoodsModelAttrValue> selectByCondition(@Param("modelAttrId") Integer modelAttrId,@Param("shopId") Integer shopId);

	public void addShopGoodsModelAttrVal(ShopGoodsModelAttrValue shopGoodsModelAttrValue);

	public List<ShopGoodsModelAttrValue> selectName(@Param("attrValueNameS")List<String> attrValueNameS,@Param("shopId")Integer shopId);

	public ShopGoodsModelAttrValue selectAttrValueName(@Param("attrValueName")String attrValueName,@Param("modelAttrId")Integer modelAttrId,@Param("shopId")Integer shopId);
}